﻿using System;
using System.IO;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using System.Diagnostics;

namespace LIB
{
    public class StartProcess
    {
        /// <summary>
        /// 启动进程
        /// </summary>
        /// <param name="cmdLine"></param>
        public static void startProcess(string path, string cmdLine)
        {
            Process pro = new Process();
            //pro.StartInfo.UseShellExecute = false;
            pro.StartInfo.FileName = path;
            pro.StartInfo.Arguments = cmdLine;
            //pro.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
            pro.Start();
        }

    }
}
